package com.zy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication  //这是一个启动类
@MapperScan("com.zy.mapper")  //指定要变成实现类的接口所在的包，然后包下面的所有接口在编译之后都会生成相应的实现类
@EnableAspectJAutoProxy(proxyTargetClass = true)    //springmvc的注解支持
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
